package com.luckmgr.service.impl;


import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.common.service.BaseService;
import com.luckmgr.dao.ActivityLevelMapper;
import com.luckmgr.entity.db.ActivityLevel;
import com.luckmgr.service.ActivityLevelService;


@Service
public class ActivityLevelServiceImpl extends BaseService<ActivityLevel> implements ActivityLevelService {

	
	ActivityLevelMapper activityLevelMapper;
	
	@Resource(name="activityLevelMapper")
    public void initCompanyMapper(ActivityLevelMapper activityLevelMapper) {
		this.activityLevelMapper = activityLevelMapper;
        super.setBaseDao(activityLevelMapper);
    }

	@Override
	public List<ActivityLevel> findLevelByAid(Integer id) {
		// TODO Auto-generated method stub
		return activityLevelMapper.findLevelByAid(id);
	}
	
}